Not been able to set IP=0.0.0.0 on  "Local Area Connection 2" using netsh command
I have installed couple of NIC cards on my Windows 7 PC. I would like to set the IP address of these interfaces to 0.0.0.0, but the cmd: netsh does not allow to set the IP 0.0.0.0 ?C:\>netsh int ip set address "Local Area Connection 2" static 0.0.0.0 mask=255.255.255.0The parameter is incorrect.
November 6th, 2009 1:11am

0.0.0.0 is not a valid IP address. Therefore it reports The parameter is incorrect.Arthur Xie - MSFT
Free Windows Admin Tool Kit Click here and download it now
November 6th, 2009 11:28am

Hi Arthur,Thank you for your response. I use the 'Local Area Connection 2' for network testing which requires to set the IP to 0.0.0.0Workaround: I can do this byclick through and remove the protocol..was hoping there was some cmd-line or regedit thing that could do the same.Control Panel - Network and Internet - Network Connections - Local Area Connection 2 - Properties - NetworkingUncheck the'Internet Protocol Version 4 (TCP/IPv4)'Is there a netsh command or regedit that will do the same?Thank You for your help!
November 6th, 2009 8:59pm

You can try to change it via Registry. The location in Registry is: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\[correspond interface] After changing the value please restart and check if it is applied. If not, you may try another workaround. Try to set to manually obtain IP address and turn off DHCP server.Arthur Xie - MSFT
Free Windows Admin Tool Kit Click here and download it now
November 12th, 2009 12:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics